//
//  Player.h
//  MountEverestFM
//
//  Created by dllo on 15/10/29.
//  Copyright © 2015年 chenn. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <STKAudioPlayer.h>
#import <AVFoundation/AVFoundation.h>
#import "PlayerModel.h"
#import "MusicModel.h"
#import "HistoryModel.h"

@interface Player : NSObject<STKAudioPlayerDelegate>

@property (nonatomic, strong) STKAudioPlayer *audioPlayer;
@property (nonatomic, strong) NSDictionary *striDic;
@property (nonatomic, strong) NSArray *listArr;
@property (nonatomic, strong) NSMutableArray *arr;
@property (nonatomic, assign) NSInteger num;
@property (nonatomic, strong) NSString *webSite;
@property (nonatomic, assign) NSInteger number;
@property (nonatomic, strong) NSString *adress;
@property (nonatomic, strong) PlayerModel *playerModel;
@property (nonatomic, strong) MusicModel *musicModel;
@property (nonatomic, strong) NSMutableArray *historyArr;
@property (nonatomic, assign) BOOL history;


@property (nonatomic ,assign)BOOL isPlay;


+ (instancetype)shareInstance;

- (void)playFromNet;
- (void)next;
- (void)forward;
- (void)collectPreseve;
- (void)pause;
@end
